home *** CD-ROM | disk | FTP | other *** search
- Save Format v2.3(19971110)
- @begin ClassFile "Button"
-
- @begin Object "Powersoft Java AWT 1.10::powersoft.painter.Class"
- DesignName Button;
- @begin ClassProperties
- Exported 1;
- @begin-code BaseClassList
-
- extends Form_Button
-
- @end-code;
- @end;
- @begin UserFunctions
- @begin UserFunction "Button()"
- @begin Definition
- FunctionScope 3;
- GeneratedFunction 1;
- @begin-code SourceCode "Button()"
-
- public Button()
- {
- super();
- }
-
- @end-code;
- @end;
- @end;
- @begin UserFunction "init()"
- @begin Definition
- FunctionScope 3;
- @begin-code SourceCode "init()"
-
- public void init()
- {
- super.init();
- addNotify();
- createAppletForm();
- }
-
- @end-code;
- @end;
- @end;
- @begin UserFunction "createAppletForm()"
- @begin Definition
- FunctionScope 3;
- GeneratedFunction 1;
- @begin-code SourceCode "createAppletForm()"
-
- public void createAppletForm()
- {
- try {
- create();
- } catch ( java.lang.Exception __e ) {}
- }
-
- @end-code;
- @end;
- @end;
- @begin UserFunction "main(String args[])"
- @begin Definition
- FunctionScope 3;
- GeneratedFunction 1;
- @begin-code SourceCode "main(String args[])"
-
- public static void main(String args[])
- {
- Button applet = new Button();
- _Button_frame f = new _Button_frame();
- f.setResizable(false);
- f.add(applet);
- f.addNotify();
- java.awt.Insets insets = f.getInsets();
- applet.setMainForm(true);
- applet.init();
- applet.setLocation(insets.left,insets.top);
- f.setSize(applet.getPreferredSize());
- applet.setSize(applet.getPreferredSize());
- f.setVisible(true);
- }
-
- @end-code;
- @end;
- @end;
- @end;
- @begin CodeBlocks
- @begin CodeBlock "HppPrefix"
- FunctionScope 1;
- @begin-code SourceCode "Imports()"
-
- // add your custom import statements here
-
- @end-code;
- @end;
- @begin CodeBlock "ClassContents"
- FunctionScope 1;
- @begin-code SourceCode "Data Members()"
-
- // add your data members here
-
- @end-code;
- @end;
- @begin CodeBlock "GeneratedClassContents"
- FunctionScope 1;
- @begin-code SourceCode "GeneratedClassContents()"
-
-
- @end-code;
- @end;
- @begin CodeBlock "CppPrefix"
- FunctionScope 6;
- GeneratedFunction 1;
- @begin-code SourceCode "Not Applicable for Java()"
-
-
- @end-code;
- @end;
- @end;
- @end;
- @end;
-